package manipulaStrings;

public class DividirStrings {
	public static void main(String[] args) {
		String tar="ouro.diamante.prata";  
		String s[] = tar.split("\\.");  
		System.out.println(s[0]);  
		System.out.println(s[1]);  
		System.out.println(s[2]);  
	}
}
